package com.myf.dtos.user;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.ZonedDateTime;
import java.util.Date;

public class UserQueryOutput {
    public Integer id;

    ///  用户账号
    public String account;

    /// 用户编号
    public String code;

    /// 姓名
    public String name;

    /// 邮件
    public String email;

    public short status;

    public String mobileNo;

    /// 生日
    @JsonFormat(pattern = "yyyy-MM-dd")
    public Date birthday;

    /// 时区
    public String timezone;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public ZonedDateTime lastLoginAt;
}
